//
//  MMQianBaoVC.m
//  movieInfo
//
//  Created by zhangkai on 2023/6/11.
//

#import "MMQianBaoVC.h"

@interface MMQianBaoVC ()

@end

@implementation MMQianBaoVC

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    
    CAGradientLayer *gradient = [CAGradientLayer layer];
    gradient.startPoint = CGPointMake(0, 0);
    gradient.endPoint = CGPointMake(1, 0);
    gradient.frame =CGRectMake(0,0,kScreenW,kScreenH);
    gradient.colors = [NSArray arrayWithObjects:(id)[UIColor colorWithRed:255/255.0 green:230/255.0 blue:41/255.0 alpha:1].CGColor,(id)[UIColor colorWithRed:255/255.0 green:178/255.0 blue:18/255.0 alpha:1].CGColor,nil];
    [self.view.layer insertSublayer:gradient atIndex:0];
    
    
    
    
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
